From abf6068d9149fdc11e7406667bf8b55c1785899a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 15 Dec 2021 17:29:32 -0500 Subject: [PATCH] docs: Add some information about event axes --- gdk/gdkevents.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c index 5ce7724eb4..71774ae50e 100644 --- a/gdk/gdkevents.c +++ b/gdk/gdkevents.c @@ -942,6 +942,9 @@ gdk_event_get_pointer_emulated (GdkEvent *event) * Extract the axis value for a particular axis use from * an event structure. * + * To find out which axes are used, use [method@Gdk.DeviceTool.get_axes] + * on the device tool returned by [method@Gdk.Event.get_device_tool]. + * * Returns: %TRUE if the specified axis was found, otherwise %FALSE */ gboolean @@ -1168,6 +1171,9 @@ G_DEFINE_BOXED_TYPE (GdkEventSequence, gdk_event_sequence, * * Extracts all axis values from an event. * + * To find out which axes are used, use [method@Gdk.DeviceTool.get_axes] + * on the device tool returned by [method@Gdk.Event.get_device_tool]. + * * Returns: %TRUE on success, otherwise %FALSE */ gboolean -- 2.30.2